<!-- $Id: category_info.htm 16752 2009-10-20 09:59:38Z wangleisvn $ -->
{include file="pageheader.htm"}
<!-- start add new category form -->
<div class="main-div">
  <form action="source_config.php" method="post" name="theForm" >
  <table width="100%" id="general-table">
      <tr>
        <td class="label">站点网址:</td>
        <td>
          <input type='text' name='site_url' id='site_url' maxlength="20" value='{$site_url}' size='27' /> 
          <font color="red">*</font>例：www.abc.com</td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td class="label">场景分类:</td>
        <td>
          <select name="stage_id" id="stage_id">
            <option value="0" ></option>
            {$stage_list}
          </select>        </td>
      </tr>

      <tr id="measure_unit">
        <td class="label">边框分类:</td>
        <td>
          <select name="border_id" id="border_id">
            <option value="0" ></option>
            {$border_list}
          </select>        </td>
      </tr>
      <tr>
        <td class="label">饰品分类:</td>
        <td>
          <select name="jewelry_id" id="jewelry_id">
            <option value="0" ></option>
            {$jewelry_list}
          </select>        </td>
      </tr>

      <tr>
        <td class="label">日历分类:</td>
        <td>
          <select name="calendar_id" id="calendar_id">
            <option value="0" ></option>
            {$calendar_list}
          </select>        </td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td><br />
                  </td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td><br />
                  </td>
      </tr>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>

      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      </table>
      <div class="button-div">
        <input type="button" value="保存" onclick="checkthis()" />
        <input type="reset" value="重置" />
      </div>
    <input type="hidden" name="act" value="save" />
  </form>
</div>
{literal}
<script language="JavaScript">
<!--

/**
 * 检查表单输入的数据
 */
function checkthis()
{
    
  var obj = document.getElementById('site_url');
  if(obj.value == ''){
	  alert('请输入网站地址');  
	  return false;
  }  
  
  document.theForm.submit();

}



//-->
</script>
{/literal}
{include file="pagefooter.htm"}